From: Alexandre Emsenhuber Date: Mon, 19 Sep 2011 18:38:38 +0000 (+0000) Subject: * Removed useless isset() check X-Git-Tag: 1.31.0-rc.0~27555 X-Git-Url: http://git.cyclocoop.org/%7D%7Cconcat%7B?a=commitdiff_plain;h=35d5bbc9f704945989684f40f3a11d7627928b1c;p=lhc%2Fweb%2Fwiklou.git * Removed useless isset() check * Added two spaces --- diff --git a/includes/Linker.php b/includes/Linker.php index 486104596b..4bb3dc6c00 100644 --- a/includes/Linker.php +++ b/includes/Linker.php @@ -888,10 +888,10 @@ class Linker { */ public static function makeExternalLink( $url, $text, $escape = true, $linktype = '', $attribs = array() ) { $class = "external"; - if ( isset($linktype) && $linktype ) { + if ( $linktype ) { $class .= " $linktype"; } - if ( isset($attribs['class']) && $attribs['class'] ) { + if ( isset( $attribs['class'] ) && $attribs['class'] ) { $class .= " {$attribs['class']}"; } $attribs['class'] = $class;